{% props
    hasSubmenus = false,
%}

{% set css_class = html_classes(
    'dropdown-menu dropdown-menu-end',
    hasSubmenus ? 'dropdown-has-submenus',
) %}

<ul {{ attributes.defaults({class: css_class}) }}>
    <twig:block name="content"></twig:block>
</ul>
